﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head><link rel="stylesheet" href="${ctx}/common/common.css">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/style/admin.css" media="all">
    <script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>

<style>
.layui-table-header {
	width: 100%;
}

.layui-products {
	border-bottom: 2px solid #e7e7e7;
	/*border-top: 2px solid #e7e7e7;*/
	margin: 10px 0px;
	padding: 5px 0px;
}

.layui-products_li {
	margin-left: 50px;
	border-bottom: 1px dashed #e7e7e7;
}

.layui-products_li:first-child {
	border: none;
}

.layui-col-md4 img {
	margin-right: 5px;
	width: 22px;
	height: 22px;
}

.layui-col-md4 img {
	margin-right: 5px;
	width: 22px;
	height: 22px;
}
</style>
</head>
<body>
<!--主体内容层-->
<div class="layui-fluid">
    <div class="layui-row">
        <div class="layui-col-xs12">
            <!--通用table表格-->

            <label>检验指标 </label>
            <hr>
            <ul>
	            <c:if test="${not empty tInspReportDetailList}">
		            <c:forEach items="${tInspReportDetailList}" var="detail">
	            		<li>
	            			${detail.name}&nbsp;&nbsp;
	            			标准值：${detail.min_value}-${detail.max_value}&nbsp;${detail.unit}&nbsp;${detail.insp_value}&nbsp;${detail.unit}&nbsp;
	            			结果：<c:if test="${detail.is_up==1}">合格</c:if><c:if test="detail.is_up==2">不合格</c:if>
	            		</li>
	            	</c:forEach>
	            </c:if>

            </ul>
           <br>
           <br>
           <label>检验报告 </label>
           <hr>
            <ul>

            	 <c:if test="${not empty tInspReportAttList}">
		            <c:forEach items="${tInspReportAttList}" var="attr">
	            		<li>
	            			<img  src="${ctx}/${attr.url}">
	            		</li>
	            	</c:forEach>
	            </c:if>
	            <c:if test="${empty tInspReportAttList}">
	            		<li>
	            			无附件数据
	            		</li>
	            </c:if>
            </ul>
        </div>
    </div>
</div>
</body>
</html>





